import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.SQLException;
import java.util.List;

import org.apache.poi.openxml4j.exceptions.InvalidFormatException;

import alList.StuGPA;
import db.*;
import excel.FormExport;

public class test1 {
//	public static void main(String[] args) throws FileNotFoundException, InvalidFormatException, IOException, SQLException {
//		DBoc dB = new DBoc();
//		dB.Connect();
		
//		String file = "/Users/pc/Desktop/ComputerPractice/学生基本信息.xls";
//		List<Student> stu = Form.readStuInfo(file);
//		dataB.addStuInfo(stu);
		
//		String file = "/Users/pc/Desktop/ComputerPractice/课程基本信息.xls";
//		List<Lesson> cla = Form.readclaInfo(file);
//		dataB.addClaInfo(cla);
		
//		String file = "/Users/pc/Desktop/ComputerPractice/考试成绩信息.xls";
//		List<Grade> gra = Form.readGrade(file);
//		dataB.addGradeInfo(gra);
//		
//		List<StuGPA> rs = DBquery.qStuGPA("201451");
//		FormExport.exportList(rs);
//		
//		dB.Close();
//		
//	}
}
